<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<%
	String contextPath = request.getContextPath();
%>
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content=",initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>我</title>
    <!-- inject:css -->

    <link rel="stylesheet" href="<%=contextPath %>/resources/css/main.css">

    <!-- endinject -->
</head>

<body>
<input type="hidden" id="openid" value="${openid }">
    <div class="main pFooter">
        <div class="meWrap">
            <div class="idCardWrap">
                <div class="idCardBody flex flex-aicenter">
                	<div class="avatarWrap">
                    	<img src="${member['headimgurl']}" alt="" class="avatar">
                    </div>
                    <div class="idBodyRight">
                        <span class="userID">账户：
                        <c:choose>
                        	<c:when test="${empty member['mobile'] }">
                        		${member['mobile']}
                        	</c:when>
                        	<c:otherwise>
                        		${member['mobile'] }
                        	</c:otherwise>
                        </c:choose>
                        </span>
                        <a href="<%=contextPath %>/usercenter/recharge" class="btn goRechargeBtn">充值</a>
                    </div>

                </div>
                <div class="idCardFooter">
                    <p>余额：<span class="num"><i class="RMB">￥</i>${member['account'] }</span></p>
                    <p><a href="<%=contextPath %>/usercenter/couponlist">优惠券:<i class="num">${useableCouponNum }</i>张</a></p>
                </div>
            </div>
            <div class="settingWrap">
                <ul class="settingList">

                    <li> <a href="<%=contextPath %>/usercenter/address"><span>常用地址</span>    </a></li>

                    <!--<li><a href="<%=contextPath %>/usercenter/recommend?fromOpenid=${openid }"><span>推荐有奖</span></a></li>-->
                    <li><a href="<%=contextPath %>/usercenter/integral"><span>我的积分</span><span class="integral">${member.integral }分</span></a></li>
                    <li><a href="<%=contextPath %>/usercenter/opinionsurvey"><span>意见反馈</span></a></li>
                    <!-- <li><a href=""><span>绑定邮箱</span></a></li> -->
                    <li><a href="tel:${telPhone }"><span>客服热线</span><span class="serviceTel">${telPhone }</span></a></li>
                </ul>
            </div>

        </div>
    </div>
    <footer>
		<ul class="bMenu fixed">
			<li ><a href="<%=contextPath %>/index"><i class="homeIcon"></i><span>首页</span></a></li>
			<li ><a href="<%=contextPath %>/usercenter/order"><i class="orderIcon"></i><span>订单</span></a></li>
			<li class="current"> <a href="<%=contextPath %>/usercenter/me"><i class="meIcon current"></i><span>我</span></a></li>
		</ul>
	</footer>